function onStart () {
	// TODO : Add your Initilize code here
	// NOTE : In order to start your app, call "sf.start()" at the end of this function!!
	InitTabCoord();
	VDB_initVideoDataBase();
	VDB_updateVideo(0, "local", "basket.avi", "EnigmaBalls");
	VDB_addVideo("youtube", "GEdZA-r-Nd0", "Scene2");

	var file = "app/javascript/TextManager.js";
	var attributes = {charset:"utf-8"};
	 
	include(file, attributes);



	sf.scene.show('LogoFYW');
	sf.scene.focus('LogoFYW');
	
	/*
	alert("---------------------- Enter Tests VideoDataBase -------------------------");
	alert("id : 0 -> type = "+VideoDataBase[0]["type"]+" / url = "+VideoDataBase[0]["url"]+" / nextscene = "+VideoDataBase[0]["nextscene"]);
	alert("///// chgt de type");
	VideoDataBase[0]["type"] = "local";
	alert("id : 0 -> type = "+VideoDataBase[0]["type"]+" / url = "+VideoDataBase[0]["url"]+" / nextscene = "+VideoDataBase[0]["nextscene"]);
	alert("length = "+VideoDataBase.length);
	alert("////// ajout d'une entrée");
	VDB_addVideo("momomom", "jfk", "hahah");
	alert("new length ="+VideoDataBase.length);
	alert("id : 1 -> type = "+VideoDataBase[1]["type"]+" / url = "+VideoDataBase[1]["url"]+" / nextscene = "+VideoDataBase[1]["nextscene"]);
	alert("---------------------- Exit Tests VideoDataBase -------------------------");
	*/


	alert("_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_");
	alert("onStart() called");
	alert("_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_");
}

function onDestroy () {
	//stop your XHR or Ajax operation and put codes to destroy your application here
	
}
var lang= "EN";
alert("init.js loaded.");